<?php $rows = $data['rows']; ?>
<?php _view("header"); ?>

<section class='body'>
<?php _view("nav"); ?>

<div class='content'>

	<div class='c'>

		<h3>
			History of <em><a href='/?module=config&group=<?=$data['group'];?>'><?=$data['group']?></a>::<a href=''><?=$data['key'];?></a></em>:
		</h3>

		<div>
		<table class='list'>
			<thead>
				<th width='8%' >ID</th>
				<th width='20%'>Key</th>
				<th width='8%'>Type</th>
				<th width='8%'>Version</th>
				<th>Value</th>
				<th width='20%'>Create Time</th>
			</thead>
			<tbody>
			<?php foreach($rows as $r) { ?>
			<tr>
				<td><?=$r['id'];?></td>
				<td><?=__($r['key']);?></td>
				<td><?=C::getTypeText($r['val_type']);?></td>
				<td><?=$r['version'];?></td>
				<td><?=__($r['value']);?></td>
				<td><?=$r['create_time'];?></td>
			</tr>
			<?php } ?>
			</tbody>
		</table>
		</div>
	</div>
</div>

</section>
<?php _view("footer"); ?>
